100
Show a combination of lines and filled curves in the overview

OBJECT categoryaxis,formatgridlinesoptions,graph,legend,overview,serie,series,valueaxes,valueaxis;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectCallMethod( _ObjectGetProperty( graph , "VisualAppearance") , "Add", 1,"C:\Program Files\Exontrol\ExGraph\Sample\EBN\googlebtn.ebn");
_ObjectCallMethod(graph, "ExecuteTemplate", "Background(199) = 25198720");
_ObjectCallMethod(graph, "ExecuteTemplate", "Background(202) = 32567536");
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
_ObjectSetProperty( graph , "SeriesColors", "blue,lightblue,green");
valueaxes = _ObjectGetProperty( graph , "ValueAxes");
	valueaxis = _ObjectCallMethod( valueaxes , "Add", );
		_ObjectSetProperty( valueaxis , "Start", 0.1);
		_ObjectSetProperty( valueaxis , "CursorFormat", "(value format ``) replace `.` with `<font ;6><off -4><fgcolor A0A0A0> `");
	valueaxis = _ObjectCallMethod( valueaxes , "Add", "2nd");
		_ObjectSetProperty( valueaxis , "End", 0.1);
		_ObjectSetProperty( valueaxis , "Visible", 0);
		_ObjectSetProperty( _ObjectGetProperty( valueaxis , "MajorGridLines") , "Color", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Date");
	_ObjectSetProperty( categoryaxis , "Format", "value mid 9 left 2");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "`<fgcolor black>` + ((0:=date(value)) format `mmm`) + (month(=:0) = 1 ? `<br><b>` + (=:0 format `YYYY`) : ``)");
		_ObjectSetProperty( formatgridlinesoptions , "Align", 10);
		_ObjectSetProperty( formatgridlinesoptions , "Color", "lightgray");
	_ObjectSetProperty( _ObjectGetProperty( categoryaxis , "MajorTicks") , "Color", "black");
	_ObjectSetProperty( categoryaxis , "CursorFormat", "value left 10");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "OverviewGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "value left 4");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "lightgray");
series = _ObjectGetProperty( graph , "Series");
	serie = _ObjectCallMethod( series , "Add", );
		_ObjectSetProperty( serie , "Name", "<fgcolor blue>MSFT</fgcolor>");
		_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
		_ObjectSetProperty( serie , "Type", "candle");
		_ObjectSetProperty( serie , "CursorFormat", "`Open: <b>` + (%v0 format `0`) + `</b><br>High: ` + (%v1 format `0`) + `<br>Low: ` + (%v2 format `0`) + `<br>Close: <b>` + (%v1" +
	" format `0`) + `</b>`");
	serie = _ObjectCallMethod( series , "Add", );
		_ObjectSetProperty( serie , "Name", "<fgcolor lightblue>Volume</fgcolor>");
		_ObjectSetProperty( serie , "Data", "Volume");
		_ObjectSetProperty( serie , "Axis", "2nd");
		_ObjectSetProperty( serie , "CursorFormat", "(name replace `lightblue` with `white`) + `: ` + (value format `0`)");
	serie = _ObjectCallMethod( series , "Add", );
		_ObjectSetProperty( serie , "Name", "<fgcolor green>Adj Close</fgcolor>");
		_ObjectSetProperty( serie , "Data", "Adj Close");
		_ObjectSetProperty( serie , "Type", "line");
		_ObjectCallMethod(graph, "TemplatePut", "Dim serObj")
		_ObjectCallMethod(graph, "TemplatePut", serie)
		_ObjectCallMethod(graph, "ExecuteTemplate", "serObj.Misc(6) = 2");
		_ObjectSetProperty( serie , "Style", 1);
		_ObjectSetProperty( serie , "Visible", 0);
		_ObjectSetProperty( serie , "CursorFormat", "(name replace `green` with `white`) + `: ` + (value format `0`)");
overview = _ObjectGetProperty( graph , "Overview");
	_ObjectSetProperty( overview , "Visible", -1);
	_ObjectSetProperty( overview , "Serie", "0,1:darkblue-fill lightblue");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Grid", "x1");
_ObjectSetProperty( _ObjectGetProperty( graph , "Cursor") , "Visible", -1);
_ObjectCallMethod( graph , "EndUpdate");

99
Display multiple curves of values in the overview

OBJECT graph,overview,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "msft");
	_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
	_ObjectSetProperty( serie , "Type", "candle");
overview = _ObjectGetProperty( graph , "Overview");
	_ObjectSetProperty( overview , "Visible", -1);
	_ObjectSetProperty( overview , "Serie", "0:black,0[1]:red,0[2]:blue,0[3]:green");
_ObjectCallMethod( graph , "EndUpdate");

98
Display the series as a filled curve rather than a line in the overview

OBJECT graph,overview,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "msft");
	_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
	_ObjectSetProperty( serie , "Type", "candle");
overview = _ObjectGetProperty( graph , "Overview");
	_ObjectSetProperty( overview , "Visible", -1);
	_ObjectSetProperty( overview , "Serie", "0:red-fill");
_ObjectCallMethod( graph , "EndUpdate");

97
Redefine the color to show the serie within the overview

OBJECT graph,overview,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "msft");
	_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
	_ObjectSetProperty( serie , "Type", "candle");
overview = _ObjectGetProperty( graph , "Overview");
	_ObjectSetProperty( overview , "Visible", -1);
	_ObjectSetProperty( overview , "Serie", "0:red");
_ObjectCallMethod( graph , "EndUpdate");

96
Defines the color, style and width/size to display the lines of values in the overview

OBJECT graph,lineoptions,overview,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "msft");
	_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
	_ObjectSetProperty( serie , "Type", "candle");
overview = _ObjectGetProperty( graph , "Overview");
	_ObjectSetProperty( overview , "Visible", -1);
	lineoptions = _ObjectGetProperty( overview , "Line");
		_ObjectSetProperty( lineoptions , "Color", "red");
		_ObjectSetProperty( lineoptions , "Width", 2);
		_ObjectSetProperty( lineoptions , "Style", 2);
_ObjectCallMethod( graph , "EndUpdate");

95
Resizes of the control's overview

OBJECT graph,overview,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "msft");
	_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
	_ObjectSetProperty( serie , "Type", "candle");
overview = _ObjectGetProperty( graph , "Overview");
	_ObjectSetProperty( overview , "Visible", -1);
	_ObjectSetProperty( overview , "Size", 32);
_ObjectCallMethod( graph , "EndUpdate");

94
Anchors the overview-window

OBJECT graph,overview,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "msft");
	_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
	_ObjectSetProperty( serie , "Type", "candle");
overview = _ObjectGetProperty( graph , "Overview");
	_ObjectSetProperty( overview , "Visible", -1);
	_ObjectSetProperty( overview , "Dock", 3);
_ObjectCallMethod( graph , "EndUpdate");

93
Shows the overview

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/msft.csv");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "msft");
	_ObjectSetProperty( serie , "Data", "Open,High,Low,Close");
	_ObjectSetProperty( serie , "Type", "candle");
_ObjectSetProperty( _ObjectGetProperty( graph , "Overview") , "Visible", -1);
_ObjectCallMethod( graph , "EndUpdate");

92
Locks the legend (no value is hidden or shown when user clicks a symbol)
OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Locked", -1);
_ObjectCallMethod( graph , "EndUpdate");

91
Aligns the legend's content

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Grid", "2x");
	_ObjectSetProperty( legend , "Align", 0);
_ObjectCallMethod( graph , "EndUpdate");

90
Arranges the legend objects on columns and rows

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Grid", "2x");
_ObjectCallMethod( graph , "EndUpdate");

89
Arranges the legend objects on columns and rows

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Flow", 1);
	_ObjectSetProperty( legend , "Grid", "x2");
_ObjectCallMethod( graph , "EndUpdate");

88
Arranges the legend objects from left to right or top to bottom

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Flow", 1);
_ObjectCallMethod( graph , "EndUpdate");

87
Defines the size to display the symbol, within the legend

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "SymbolWidth", 32);
	_ObjectSetProperty( legend , "SymbolHeight", 32);
_ObjectCallMethod( graph , "EndUpdate");

86
Defines the height to display the symbol, within the legend

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "SymbolHeight", 32);
_ObjectCallMethod( graph , "EndUpdate");

85
Defines the width to display the symbol, within the legend

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "SymbolWidth", 32);
_ObjectCallMethod( graph , "EndUpdate");

84
Aligns the symbol of the serie relative to the label of the serie, within the legend

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "SymbolAlign", 17);
_ObjectCallMethod( graph , "EndUpdate");

83
Displays the labels using a fixed-size

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "FormatText", 16);
	_ObjectSetProperty( legend , "LabelFixedWidth", 48);
	_ObjectSetProperty( legend , "LabelFixedHeight", 32);
_ObjectCallMethod( graph , "EndUpdate");

82
Displays the labels using a fixed-height

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "FormatText", 4);
	_ObjectSetProperty( legend , "LabelFixedHeight", 32);
	_ObjectSetProperty( legend , "Dock", 3);
_ObjectCallMethod( graph , "EndUpdate");

81
Displays the labels using a fixed-width

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "FormatText", 32768);
	_ObjectSetProperty( legend , "LabelFixedWidth", 32);
_ObjectCallMethod( graph , "EndUpdate");

80
Hides the labels on the legend (method 2)

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)") , "LegendFormat", "``");
_ObjectSetProperty( _ObjectGetProperty( graph , "Legend") , "Visible", -1);
_ObjectCallMethod( graph , "EndUpdate");

79
Hides the labels on the legend (method 1)

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "FormatText", 1024);
	_ObjectSetProperty( legend , "LabelFixedWidth", 1);
_ObjectCallMethod( graph , "EndUpdate");

78
Specifies the flags the labels use to display on the legend (for instance, displays the labels on multiple lines)

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "FormatText", 16);
	_ObjectSetProperty( legend , "LabelFixedWidth", 48);
_ObjectCallMethod( graph , "EndUpdate");

77
Reverses the order of the items within the legend

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Reverse", -1);
_ObjectCallMethod( graph , "EndUpdate");

76
Defines the legend's padding (space between legend's symbol/label and its borders)

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Pad", "12,0");
_ObjectCallMethod( graph , "EndUpdate");

75
Specifies the edge of the container the legend-window is anchored to

OBJECT graph,legend;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
	_ObjectSetProperty( legend , "Dock", 1);
_ObjectCallMethod( graph , "EndUpdate");

74
Show the legend

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AsPercent", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)");
_ObjectSetProperty( _ObjectGetProperty( graph , "Legend") , "Visible", -1);
_ObjectCallMethod( graph , "EndUpdate");

73
Defines the tooltip's padding (space between tooltip's caption and its borders), for tooltips when cursor hovers the chart

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "TooltipPad", "8,8");
_ObjectCallMethod( graph , "EndUpdate");

72
Defines the foreground and background colors to show the tooltips on values

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "SerieTooltipBackColor", "red");
	_ObjectSetProperty( cursor , "SerieTooltipForeColor", "yellow");
_ObjectCallMethod( graph , "EndUpdate");

71
Defines the foreground and background colors to show the tooltips on axes

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "AxisTooltipBackColor", "red");
	_ObjectSetProperty( cursor , "AxisTooltipForeColor", "yellow");
_ObjectCallMethod( graph , "EndUpdate");

70
Defines the color, width or style of line to display the crosshair over the hover/touch area (showCursorCategoryLine or showCursorValueLine)

OBJECT cursor,graph,lineoptions;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	lineoptions = _ObjectGetProperty( cursor , "Line");
		_ObjectSetProperty( lineoptions , "Color", "red");
		_ObjectSetProperty( lineoptions , "Style", 0);
		_ObjectSetProperty( lineoptions , "Width", 2);
_ObjectCallMethod( graph , "EndUpdate");

69
Hides the horizontal x-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

OBJECT cursor,graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "11 22 33,44 55 66,77 88 99,12 34 56,78 90 23");
	_ObjectSetProperty( serie , "Type", "bubble");
	_ObjectCallMethod(graph, "TemplatePut", "Dim serObj")
	_ObjectCallMethod(graph, "TemplatePut", serie)
	_ObjectCallMethod(graph, "ExecuteTemplate", "serObj.Misc(1) = 64");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "21 32 43,54 65 76,87 98 09,45 67 89,90 23 45");
	_ObjectSetProperty( serie , "Type", "bubble");
	_ObjectCallMethod(graph, "ExecuteTemplate", "serObj.Misc(1) = 64");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorYLine", 0);
_ObjectCallMethod( graph , "EndUpdate");

68
Hides the vertical y-line, when the crosshair cursor hovers the chart (available for xy-chart types only)

OBJECT cursor,graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "11 22 33,44 55 66,77 88 99,12 34 56,78 90 23");
	_ObjectSetProperty( serie , "Type", "bubble");
	_ObjectCallMethod(graph, "TemplatePut", "Dim serObj")
	_ObjectCallMethod(graph, "TemplatePut", serie)
	_ObjectCallMethod(graph, "ExecuteTemplate", "serObj.Misc(1) = 64");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "21 32 43,54 65 76,87 98 09,45 67 89,90 23 45");
	_ObjectSetProperty( serie , "Type", "bubble");
	_ObjectCallMethod(graph, "ExecuteTemplate", "serObj.Misc(1) = 64");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorXLine", 0);
_ObjectCallMethod( graph , "EndUpdate");

67
Hides the horizontal/vertical value/y-line, when the crosshair cursor hovers the chart

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorValueLine", 0);
_ObjectCallMethod( graph , "EndUpdate");

66
Displays all tooltips for all series of the category unit being indicated by the vertical/horizontal category/x-line

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorSerieTooltip", 3);
_ObjectCallMethod( graph , "EndUpdate");

65
The pointer indicates the series whose tooltip is displayed, when the crosshair cursor hovers its chart

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorSerieTooltip", 2);
_ObjectCallMethod( graph , "EndUpdate");

64
Hides the tooltip when the crosshair cursor hovers the chart

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorSerieTooltip", 0);
_ObjectCallMethod( graph , "EndUpdate");

63
Shows the category/x-line when the cursor is near the value

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorCategoryLine", 1);
_ObjectCallMethod( graph , "EndUpdate");

62
Hides the cursor's category/x-line

OBJECT cursor,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
cursor = _ObjectGetProperty( graph , "Cursor");
	_ObjectSetProperty( cursor , "Visible", -1);
	_ObjectSetProperty( cursor , "ShowCursorCategoryLine", 0);
_ObjectCallMethod( graph , "EndUpdate");

61
How can I show the values from the cursor

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
_ObjectSetProperty( _ObjectGetProperty( graph , "Cursor") , "Visible", -1);
_ObjectCallMethod( graph , "EndUpdate");

60
Defines the style to display the axis-line
OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AxisLine") , "Style", 2);
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "CategoryAxis") , "AxisLine") , "Style", 2);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(5" +
	"90741),Bordeaux(589649),Lille(484786)");
_ObjectCallMethod( graph , "EndUpdate");

59
Defines the color to show the axis

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "AxisLine") , "Color", "red");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "CategoryAxis") , "AxisLine") , "Color", "red");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Paris(2148271),Marseille(1748148),Lyon(1637677),Toulouse(1360829),Nice(1000548),Nantes(973133),Strasbourg(785839),Montpellier(5" +
	"90741),Bordeaux(589649),Lille(484786)");
_ObjectCallMethod( graph , "EndUpdate");

58
Specifies the step to show the ticks for value or category axes

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorTicks") , "Step", 2);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu" +
	"nd(586600),Essen(582760),Bremen(565719)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

57
Specifies the number of ticks to skip for value or category axes

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorTicks") , "Skip", 3);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu" +
	"nd(586600),Essen(582760),Bremen(565719)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

56
Defines the style to show the major-ticks of value or category axes
OBJECT graph,tickoptions;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
tickoptions = _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorTicks");
	_ObjectSetProperty( tickoptions , "Style", 1);
	_ObjectSetProperty( tickoptions , "Width", 3);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu" +
	"nd(586600),Essen(582760),Bremen(565719)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

55
Defines the color to show the major-ticks of value or category axes

OBJECT graph,tickoptions;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
tickoptions = _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorTicks");
	_ObjectSetProperty( tickoptions , "Color", "red");
	_ObjectSetProperty( tickoptions , "Width", 3);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu" +
	"nd(586600),Essen(582760),Bremen(565719)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

54
Specifies the size to show the major-ticks of value or category axes
OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorTicks") , "Width", 3);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Berlin(3769495),Hamburg(1847253),Munich(1471508),Cologne(1085664),Frankfurt(753056),Stuttgart(731374),Düsseldorf(620877),Dortmu" +
	"nd(586600),Essen(582760),Bremen(565719)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

53
Defines the step to show the major-grid lines, for value or category axes

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorGridLines") , "Step", 2);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2" +
	"69506),Ploiesti(209945),Oradea(222239)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

52
Specifies the number of major grid-line's to skip, for value or category axes

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorGridLines") , "Skip", 3);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2" +
	"69506),Ploiesti(209945),Oradea(222239)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

51
Specifies the style of the major grid-line (dash, dot, ...), for value or category axes

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorGridLines") , "Style", 2);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2" +
	"69506),Ploiesti(209945),Oradea(222239)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

50
Specifies the major grid-line's color, for value or category axes

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorGridLines") , "Color", "red");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2" +
	"69506),Ploiesti(209945),Oradea(222239)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

49
Specifies the major grid-line's width or size, for value or category axes

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( _ObjectGetProperty( graph , "ValueAxis") , "MajorGridLines") , "Width", 2);
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Bucharest(1883425),Cluj-Napoca(316748),Timisoara(319279),Iasi(382484),Constanta(283872),Brasov(253200),Galati(249432),Craiova(2" +
	"69506),Ploiesti(209945),Oradea(222239)");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

48
Hide the labels of the grid lines (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 64);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "value");
		_ObjectSetProperty( formatgridlinesoptions , "Align", 1024);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

47
Aligns the labels of the grid lines (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 64);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "`<fgcolor gray>` + value");
		_ObjectSetProperty( formatgridlinesoptions , "Align", 258);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

46
Defines where the grid lines appear on chart or overview

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "value = `Sitka`");
		_ObjectSetProperty( formatgridlinesoptions , "Align", 1024);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

45
Defines the labels between grid lines (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Format", "``");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "`<c>` + value + `<br><c>` + index");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

44
Defines the step to show the grid lines (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
		_ObjectSetProperty( formatgridlinesoptions , "Step", 2);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

43
Specifies the number of grid lines to skip (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
		_ObjectSetProperty( formatgridlinesoptions , "Skip", 3);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

42
Defines the grid-line dash-dot-dot-style (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Style", 4);
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

41
Defines the grid-line dash-dot-style (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Style", 3);
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

40
Defines the grid-line dot-style (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Style", 2);
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

39
Defines the grid-line dash-style (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Style", 1);
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

38
Specifies the grid-line's color (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "red");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

37
Specifies the grid-line's width or size (chart, overview)

OBJECT categoryaxis,formatgridlinesoptions,graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
categoryaxis = _ObjectGetProperty( graph , "CategoryAxis");
	_ObjectSetProperty( categoryaxis , "Categories", "Anchorage,Juneau,Fairbanks,Sitka,Ketchikan,Wasilla,Kenai,Kodiak,Bethel,Palmer");
	formatgridlinesoptions = _ObjectGetProperty( categoryaxis , "ChartGridLines");
		_ObjectSetProperty( formatgridlinesoptions , "Color", "black");
		_ObjectSetProperty( formatgridlinesoptions , "Format", "index");
		_ObjectSetProperty( formatgridlinesoptions , "Width", 2);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "291247,32269,30917,8588,8208,10529,7757,5968,6481,7393");
_ObjectCallMethod( graph , "EndUpdate");

36
Occurs when the user dblclk the left mouse button over an object
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
FUNCTION graphEvents_DblClick(OBJECT graph, INT Shift, INT X, INT Y)
	Message( "DblClick event" );
END

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
ObjectAssociateEvents("graphEvents", graph);
_ObjectSetProperty( graph , "ValueSize", 18);
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil" +
	"}(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{" +
	"China}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(6" +
	"96),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiâni" +
	"a{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)");
	_ObjectSetProperty( serie , "Type", "Col");
	_ObjectSetProperty( serie , "Vertical", -1);
_ObjectSetProperty( graph , "Sort", "0:D");

35
Occurs when the user presses and then releases the left mouse button over the control
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
FUNCTION graphEvents_Click()
	Message( "Click event" );
END

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
ObjectAssociateEvents("graphEvents", graph);
_ObjectSetProperty( graph , "ValueSize", 18);
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Hulunbuir{China}(263068),Abu Dhabi{United Arab Emirates}(97200),Jiuquan{China}(167996),Altamira{Brazil}(159891),Brasília{Brazil" +
	"}(5784),Mumbai{India}(603.4),Delhi{India}(1484),Chongqing{China}(82400),Hulunbuir{China}(263068),Sao Paulo{Brazil}(1522),Linfen{" +
	"China}(20527),Santiago{Chile}(641),Mexico City{Mexico}(1485),Belo Horizonte{Brazil}(313),Hangzhou{China}(16817),Nairobi{Kenya}(6" +
	"96),Berlin{Germany}(891.68),Montreal{Canada}(431.5),Cordoba{Argentina}(576),Manaus{Brazil}(11401),Astana{Kazakhstan}(810),Goiâni" +
	"a{Brazil}(741),Cali{Colombia}(564),Sao Paulo{Brazil}(1522),Goiania{Brazil}(781)");
	_ObjectSetProperty( serie , "Type", "Col");
	_ObjectSetProperty( serie , "Vertical", -1);

34
Determine the code of the key the user presses
// KeyPress event - Occurs when the user presses and releases an ANSI key.
FUNCTION graphEvents_KeyPress(OBJECT graph, INT KeyAscii)
	' print"KeyAscii",KeyAscii)

END

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
ObjectAssociateEvents("graphEvents", graph);
_ObjectSetProperty( graph , "ValueSize", 48);
_ObjectCallMethod(graph, "ExecuteTemplate", "Misc(10) = 0");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "China(1403500365),India(1368737513),UnitedStates(330810184),Indonesia(272881945),Pakistan(220892331),Brazil(212559417),Nigeria(" +
	"206139587),Bangladesh(169575884),Russia(145912025),Mexico(128932753),Japan(126476458),Ethiopia(114963588),Philippines(112392078)" +
	",Egypt(110530608),Vietnam(97429061),DR.Congo(89561404),Turkey(84339067),Iran(83720412),Germany(83132799),Thailand(69799978),Unit" +
	"edKingdom(68207116),France(65311982),Italy(59554028),Tanzania(59091392),SouthAfrica(58775022)");
	_ObjectSetProperty( serie , "Type", "Pie");
	_ObjectSetProperty( serie , "ShowValue", 7);
	_ObjectSetProperty( serie , "ValueFormat", "category");

33
Determine the code of the key the user just released
// KeyUp event - Occurs when the user releases a key while an object has the focus.
FUNCTION graphEvents_KeyUp(OBJECT graph, INT KeyCode, INT Shift)
	' print"KeyCode",KeyCode)

END

OBJECT graph;

graph =  ObjectByName("AN1") ;
ObjectAssociateEvents("graphEvents", graph);
_ObjectSetProperty( graph , "ValueSize", 48);
_ObjectCallMethod(graph, "ExecuteTemplate", "Misc(10) = 0");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argenti" +
	"na(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),M" +
	"exico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Cha" +
	"d(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)");

32
Determine the code of the key the user presses
// KeyDown event - Occurs when the user presses a key while an object has the focus.
FUNCTION graphEvents_KeyDown(OBJECT graph, INT KeyCode, INT Shift)
	' print"KeyCode",KeyCode)

END

OBJECT graph;

graph =  ObjectByName("AN1") ;
ObjectAssociateEvents("graphEvents", graph);
_ObjectSetProperty( graph , "ValueSize", 48);
_ObjectCallMethod(graph, "ExecuteTemplate", "Misc(10) = 0");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Russia(17098242),Canada(9984670),China(9596961),UnitedStates(9525067),Brazil(8515767),Australia(7692024),India(3287263),Argenti" +
	"na(2780400),Kazakhstan(2724900),Algeria(2381741),CongoDemocraticRepublicofthe(2344858),Greenland(2166086),SaudiArabia(2149690),M" +
	"exico(1964375),Indonesia(1904569),Sudan(1861484),Libya(1759540),Iran(1648195),Mongolia(1564116),Peru(1285216),Niger(1267000),Cha" +
	"d(1284000),Angola(1246700),Mali(1240192),SouthAfrica(1221037)");

31
How can reverse the chart

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Reverse", -1);
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8" +
	"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
	"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)");
	_ObjectSetProperty( serie , "Vertical", -1);
_ObjectSetProperty( graph , "SeriesColors", "dodgerblue");

30
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ScrollBars", 15);
_ObjectCallMethod(graph, "ExecuteTemplate", "ScrollPartVisible(0,65536) = True");
_ObjectCallMethod(graph, "ExecuteTemplate", "ScrollPartVisible(1,65536) = True");
_ObjectCallMethod(graph, "ExecuteTemplate", "ScrollPartVisible(2,65536) = True");
_ObjectSetProperty( graph , "ScrollWidth", 4);
_ObjectCallMethod(graph, "ExecuteTemplate", "Background(276) = 15790320");
_ObjectCallMethod(graph, "ExecuteTemplate", "Background(260) = 8421504");
_ObjectSetProperty( graph , "ScrollHeight", 4);
_ObjectCallMethod(graph, "ExecuteTemplate", "Background(404) = Background(276)");
_ObjectCallMethod(graph, "ExecuteTemplate", "Background(388) = Background(260)");
_ObjectCallMethod(graph, "ExecuteTemplate", "Background(511) = Background(276)");
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 6);
_ObjectSetProperty( graph , "Data", "C:\Program Files\Exontrol\ExGraph\Sample\Data/aapl.txt");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Name", "aapl");
	_ObjectSetProperty( serie , "Data", "AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
	_ObjectSetProperty( serie , "Type", "candle");
_ObjectCallMethod( graph , "EndUpdate");
_ObjectCallMethod( graph , "EndUpdate");

29
Define a bubble chart-type

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", );
	_ObjectSetProperty( serie , "Data", "1 99 1,2 96 2,3 92 3,4 86 4,5 79 5,6 70 6,7 60 7,8 50 8,9 38 9,10 25 10,11 13 11");
	_ObjectSetProperty( serie , "Type", "bubble");
	_ObjectCallMethod(graph, "TemplatePut", "Dim serObj")
	_ObjectCallMethod(graph, "TemplatePut", serie)
	_ObjectCallMethod(graph, "ExecuteTemplate", "serObj.Misc(1) = 96");

28
Is it possible to show the values with the same color (method 2)

OBJECT graph,serie,valueaxis;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod(graph, "ExecuteTemplate", "Misc(13) = True");
_ObjectCallMethod(graph, "ExecuteTemplate", "Misc(22) = 0");
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,,,0,0");
valueaxis = _ObjectGetProperty( graph , "ValueAxis");
	_ObjectSetProperty( valueaxis , "Format", "value ? (value / 1000000)  + `<br><c>mil`: ``");
	_ObjectSetProperty( valueaxis , "Tfi", "<fgcolor gray> bold");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589)" +
	",Bangladesh(164689383),Russia(145934462),Mexico(128932753)");
	_ObjectSetProperty( serie , "Type", "column");
	_ObjectSetProperty( serie , "ShowValue", 7);
	_ObjectSetProperty( serie , "ValueFormat", "((value format ``) replace `.00` with ``)");
	_ObjectSetProperty( serie , "Color", "blue");
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

27
Is it possible to show the values with the same color (method 1)

OBJECT graph,serie,valueaxis;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod(graph, "ExecuteTemplate", "Misc(13) = True");
_ObjectCallMethod(graph, "ExecuteTemplate", "Misc(22) = 0");
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,,,0,0");
valueaxis = _ObjectGetProperty( graph , "ValueAxis");
	_ObjectSetProperty( valueaxis , "Format", "value ? (value / 1000000)  + `<br><c>mil`: ``");
	_ObjectSetProperty( valueaxis , "Tfi", "<fgcolor gray> bold");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "China(1439323776),India(1380004385),US(331002651),Indonesia(273523615),Pakistan(220892340),Brazil(212559417),Nigeria(206139589)" +
	",Bangladesh(164689383),Russia(145934462),Mexico(128932753)");
	_ObjectSetProperty( serie , "Type", "column");
	_ObjectSetProperty( serie , "ShowValue", 7);
	_ObjectSetProperty( serie , "ValueFormat", "((value format ``) replace `.00` with ``)");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "0") , "Visible", 0);
_ObjectSetProperty( graph , "Sort", "0:D");
_ObjectCallMethod( graph , "EndUpdate");

26
Pie chart

OBJECT graph,legend,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "Type", "pie");
	_ObjectSetProperty( serie , "ShowValue", -1);
	_ObjectSetProperty( serie , "ValueFormat", "category + `<br>` + ((percent) format ``) + `%`");
	_ObjectSetProperty( serie , "LegendFormat", "label + `(` + ((percent) format ``) + `%)`");
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,,transparent");
legend = _ObjectGetProperty( graph , "Legend");
	_ObjectSetProperty( legend , "Visible", -1);
_ObjectCallMethod( graph , "EndUpdate");

25
Define the pad for value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,,,,8");
_ObjectCallMethod( graph , "EndUpdate");

24
Hide the frame around the value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,,,0");
_ObjectCallMethod( graph , "EndUpdate");

23
Remove the frame around the value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,,transparent");
_ObjectCallMethod( graph , "EndUpdate");

22
Apply the color of the data-value to the value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
	_ObjectSetProperty( serie , "ValueFormat", "`<fgcolor white>` + value");
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,null");
_ObjectCallMethod( graph , "EndUpdate");

21
Apply an opaque color to the value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,,red");
_ObjectCallMethod( graph , "EndUpdate");

20
Remove the line that connects the value point to value-label (method 2)

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,0");
_ObjectCallMethod( graph , "EndUpdate");

19
Define a shorter line (connects the value point to value-label)

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,,8");
_ObjectCallMethod( graph , "EndUpdate");

18
Define the size of the line that connects the value point to value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,1");
_ObjectCallMethod( graph , "EndUpdate");

17
Hide the line that connects the value point to value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,,0");
_ObjectCallMethod( graph , "EndUpdate");

16
Remove the line that connects the value point to value-label (method 1)

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,transparent");
_ObjectCallMethod( graph , "EndUpdate");

15
Change the color to show the line that connects the value point to value-label

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,,red");
_ObjectCallMethod( graph , "EndUpdate");

14
Change the frame's size around the value-point

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,4");
_ObjectCallMethod( graph , "EndUpdate");

13
Change the frame's size around the value-point

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,,0");
_ObjectCallMethod( graph , "EndUpdate");

12
Hide the value-points, but still the value-label (method 2)

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",transparent,transparent");
_ObjectCallMethod( graph , "EndUpdate");

11
Hide the value-points, but still the value-label (method 1)

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", "0");
_ObjectCallMethod( graph , "EndUpdate");

10
Change the color to show the border of the value-point

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",,black");
_ObjectCallMethod( graph , "EndUpdate");

9
Makes the value point to show in the data-color

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", ",null");
_ObjectCallMethod( graph , "EndUpdate");

8
Defines bigger value-points

OBJECT graph,serie;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectSetProperty( _ObjectGetProperty( graph , "ValueAxis") , "Format", "value/100000");
serie = _ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Tokyo(37833000), Delhi(30290000), Shanghai(27058000), São Paulo(22043000), Mumbai(20668000), Beijing(20384000), Karachi(2000000" +
	"0), Dhaka(17072000), Istanbul(15029000), Los Angeles(13131000)");
	_ObjectSetProperty( serie , "ShowValue", -1);
_ObjectSetProperty( graph , "ValuePoint", "16");
_ObjectCallMethod( graph , "EndUpdate");

7
How can I change the color to show the axes (method 3)

OBJECT graph,valueaxis;

graph =  ObjectByName("AN1") ;
valueaxis = _ObjectGetProperty( graph , "ValueAxis");
	_ObjectSetProperty( valueaxis , "Format", "`<fgcolor red>` + value");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8" +
	"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
	"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)");

6
How can I change the color to show the axes (method 2)

OBJECT graph,valueaxis;

graph =  ObjectByName("AN1") ;
valueaxis = _ObjectGetProperty( graph , "ValueAxis");
	_ObjectSetProperty( valueaxis , "Tfi", "<fgcolor red>");
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8" +
	"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
	"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)");

5
How can I change the color to show the axes (method 1)

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectSetProperty( graph , "ForeColor", 255);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Friendster(121111111),Facebook(979750000),Flickr(79664888),Google Buzz(170000000),Google+(107319100),Hi5(900202990),Instagram(8" +
	"0202990),MySpace(80202990),Orkut(45067022),Pinterest(197319100),Reddit(360250000),Snapchat(280250000),TikTok(860250000),Tumblr(1" +
	"46890156),Twitter(160250000),WeChat(118123370),Weibo(79195730),Whatsapp(1160250000),YouTube(844638200)");

4
Does the control's print supports "fit to page"

OBJECT createobject("exontrol.print"),graph,series;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "AutoFit", -1);
series = _ObjectGetProperty( graph , "Series");
	_ObjectCallMethod( series , "Add", "Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)");
	_ObjectCallMethod( series , "Add", "Facebook(176),Google(81),Twitter(47),LinkedIn(159),Instagram(62),Pinterest(193),Snapchat(118),WhatsApp(25)");
_ObjectCallMethod( graph , "EndUpdate");
createobject("exontrol.print") = CreateObject("Exontrol.Print");
	_ObjectSetProperty( createobject("exontrol.print") , "PrintExt", graph);
	_ObjectCallMethod( createobject("exontrol.print") , "Preview");

3
How can I print the control

OBJECT createobject("exontrol.print"),graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ValueSize", 36);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "Facebook(125),Google(94),Twitter(38),LinkedIn(172),Instagram(53),Pinterest(187),Snapchat(104),WhatsApp(19)");
_ObjectCallMethod( graph , "EndUpdate");
createobject("exontrol.print") = CreateObject("Exontrol.Print");
	_ObjectSetProperty( createobject("exontrol.print") , "PrintExt", graph);
	_ObjectCallMethod( createobject("exontrol.print") , "Preview");

2
How do I change the control's foreground color

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "ForeColor", 255);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "-1,2,-3,4");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( graph , "EndUpdate");

1
How do I change the control's background color

OBJECT graph;

graph =  ObjectByName("AN1") ;
_ObjectCallMethod( graph , "BeginUpdate");
_ObjectSetProperty( graph , "BackColor", 15790320);
_ObjectCallMethod( _ObjectGetProperty( graph , "Series") , "Add", "1,2,3,4");
_ObjectSetProperty( graph , "AutoFit", -1);
_ObjectCallMethod( graph , "EndUpdate");